package com.xmall.service;

import com.xmall.bean.table.Admin;
import com.xmall.bean.vo.DashboardVo;
import com.xmall.bean.vo.IssueList;
import com.xmall.bean.vo.AdminInfoVo;

public interface AdminService {

    IssueList<Admin> selectAdmin(Integer page, Integer limit, String username, String sort, String order);

    Admin insertAdmin(Admin admin);

    Admin updateAdmin(Admin admin);

    Integer deleteAdmin(Admin admin);

    AdminInfoVo queryAdminInfoByUsername(String username);

    DashboardVo queryDashBoardTotal();

}
